<?php
require_once (ROOTDIR."/config/Config.inc");
require_once (ROOTDIR."/source/service/ftp/upload.class.php");
require_once(ROOTDIR.'source/service/class.excel.php');
/* 上传excel,返回读取出的数组。并删除上传的文件 */
class excelread{
	public function read($file){
		$objPHPExcel  = PHPExcel_IOFactory::load($file);
		if($objPHPExcel)
		{
			return $objPHPExcel;
		}
		else
		{
			return "";
		}
	}
}
	




